<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Destroy event base</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.event-base-free" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">event_base_free</h1>
  <p class="verinfo">(PECL libevent &gt;= 0.0.1)</p><p class="refpurpose"><span class="refname">event_base_free</span> &mdash; <span class="dc-title">Destroy event base</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.event-base-free-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>event_base_free</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$event_base</code></span>
   ) : <span class="type"><span class="type void">void</span></span></div>

  <p class="para rdfs-comment">
   Destroys the specified <code class="parameter">event_base</code> and frees all the
   resources associated. Note that it&#039;s not possible to destroy an event base
   with events attached to it.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.event-base-free-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">event_base</code></dt>

     <dd>

      <p class="para">
       Valid event base resource.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


</div></div></div></body></html>